Fast Left-Linear Semi-Unification

نویسنده

  • Fritz Henglein
چکیده

Semi-unification is a generalization of both unification and matching with applications in proof theory, term rewriting systems, polymorphic type inference, and natural language processing. It is the problem of solving a set of term inequalities M1 ≤ N1, . . . ,Mk ≤ Nk, where ≤ is interpreted as the subsumption preordering on (first-order) terms. Whereas the general problem has recently been shown to be undecidable, several special cases are decidable. Kfoury, Tiuryn, and Urzyczyn proved that left-linear semi-unification (LLSU) is decidable by giving an exponential time decision procedure. We improve their result as follows. 1. We present a generic polynomial-time algorithm L1 for LLSU, which shows that LLSU is in P. 2. We show that L1 can be implemented in time O(n) by using a fast dynamic transitive closure algorithm. 3. We prove that LLSU is P-complete under log-space reductions, thus giving evidence that there are no fast (NC-class) parallel algorithms for LLSU. ∗In Proc. Int’l Conf. on Computing and Information (ICCI), Niagara Falls, Canada, May 1990, Springer-Verlag Lecture Notes in Computer Science, Vol. 468, pp. 82-91

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Fast algorithms for uniform semi-unification

Uniform semi-unification is a simple combination of matching and unification defined as follows: given two terms s and t , do there exist substitutions σ and ρ such that sσρ = tσ ? We present two algorithms for this problem based on Huet’s unification closure method, one producing (possibly) non-principal solutions, and one producing principal solutions. For both we provide a precise analysis o...

متن کامل

Parallelism Constraints

Parallelism constraints are logical desciptions of trees. They are as expressive as context unification, i.e. second-order linear unification. We present a semi-decision procedure enumerating all “most general unifiers” of a parallelism constraint and prove it sound and complete. In contrast to all known procedures for context unification, the presented procedure terminates for the important fr...

متن کامل

Scheduling support hardware for multiprocessor system and its evaluations

The reachability and related decision problems for monadic and semi This paper shows that reachability is undecidable for confluent monadic and semi-constructor TRSs, and that joinability and confluence are undecidable for monadic and semi-constructor TRSs. Here, a TRS is monadic if the height of the right-hand side of each rewrite rule is at most 1, and is semi-constructor if all defined symbo...

متن کامل

Termination of Rule-Based Calculi for Uniform Semi-Unification

Uniform semi-unification is a generalization of unification; its efficient algorithms have been extensively studied in (Kapur et al., 1994) and (Oliart&Snyder, 2004). For (uniform) semi-unification, several variants of rule-based calculi are known. But, some of these calculi in the literature lack the termination property, i.e. not all derivations are terminating. We revisit symbolic semi-unifi...

متن کامل

BOSTON UNIVERSITY GRADUATE SCHOOL OF ARTS AND SCIENCES Thesis TYPE INFERENCE WITH RECURSIVE TYPES AT DIFFERENT RANKS

We consider a polymorphic type system (System F) with recursive types for the lambda calculus with constants. We use Leivant’s notion of rank to delimit the boundaries for decidable and undecidable type inference in our system. More precisely, we show that type inference in our system is undecidable at rank k ≥ 3. Similar results are known to hold for System F without recursive types. Our undec...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1990